package cn.mcartoon.dto;

import java.math.BigDecimal;

/**
 * @author hys
 * @Description 漫画章节出参数据包装类
 * @date 2019/9/23 11:21
 * Version 1.0
 */
public class ChapterDto {
    //章节id
    private Long chapterId;
    //章节编号
    private Integer chapterNo;
    //章节名称
    private String chapterName;
    //章节封面路径
    private String chapterCover;
    //章节内容总页数
    private Integer contentPage;
    //动漫表主键ID
    private Long cartoonId;
    //章节类型 1-->连载；2-->番外；3-->卷
    private Integer chapterType;
    //是否需要付费 1-->是；2-->否
    private Integer isPay;
    //购买章节所需次元币
    private BigDecimal secondaryCurrency;
    //下一章的章节id；为-1是最后一章
    private Long nextChapterId;
    //上一章的章节id；为-1是第一章
    private Long lastChapterId;
    //章节最后更新时间
    private String updatedTime;

    public String getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(String updatedTime) {
        this.updatedTime = updatedTime;
    }

    public Integer getChapterNo() {
        return chapterNo;
    }

    public void setChapterNo(Integer chapterNo) {
        this.chapterNo = chapterNo;
    }

    public Long getNextChapterId() {
        return nextChapterId;
    }

    public void setNextChapterId(Long nextChapterId) {
        this.nextChapterId = nextChapterId;
    }

    public Long getLastChapterId() {
        return lastChapterId;
    }

    public void setLastChapterId(Long lastChapterId) {
        this.lastChapterId = lastChapterId;
    }

    public Integer getIsPay() {
        return isPay;
    }

    public void setIsPay(Integer isPay) {
        this.isPay = isPay;
    }

    public String getChapterCover() {
        return chapterCover;
    }

    public void setChapterCover(String chapterCover) {
        this.chapterCover = chapterCover;
    }

    public String getChapterName() {
        return chapterName;
    }

    public void setChapterName(String chapterName) {
        this.chapterName = chapterName;
    }

    public Integer getContentPage() {
        return contentPage;
    }

    public void setContentPage(Integer contentPage) {
        this.contentPage = contentPage;
    }

    public Long getChapterId() {
        return chapterId;
    }

    public void setChapterId(Long chapterId) {
        this.chapterId = chapterId;
    }

    public Long getCartoonId() {
        return cartoonId;
    }

    public void setCartoonId(Long cartoonId) {
        this.cartoonId = cartoonId;
    }

    public Integer getChapterType() {
        return chapterType;
    }

    public void setChapterType(Integer chapterType) {
        this.chapterType = chapterType;
    }

    public BigDecimal getSecondaryCurrency() {
        return secondaryCurrency;
    }

    public void setSecondaryCurrency(BigDecimal secondaryCurrency) {
        this.secondaryCurrency = secondaryCurrency;
    }
}
